Hello,
I have been able to install my recently arrived Kflop+KAnalog and even made some test milling in my homemade, slaved, cnc router.
I am now approaching homing routines and another user of the Kflop kindly sent me the ones he has used in the past.
At a certain point of those routines I read:
ch0->LimitSwitchOptions = 0x0x880011;
I am more a Python programmer but the past I used to write C programs - still need to refresh my skills, but that doesn't look legit C to me.
In fact tcc67 cleanly compiles the following code while Lcc and Gcc don't:
void main(){ int Limit;
Limit = 0x0x880011; }
To my eyes, tcc should find the 0x0 literal, but should complain about the undeclared x880011 identifier, shouldn't it ?
Thank you for any clarification.
|